package com.dsg.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系統序號生成表
 * </p>
 *
 * @author system
 * @since 2020-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_sys_sn")
@ApiModel(value="DsgSysSn对象", description="系統序號生成表")
public class DsgSysSn implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "序號類型")
    @TableField("SN_TYPE")
    private Integer snType;

    @ApiModelProperty(value = "遞迴條件")
    @TableField("SN_RECURSION")
    private String snRecursion;

    @ApiModelProperty(value = "自增值")
    @TableField("SN_VALUE")
    private Integer snValue;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;


}
